package com.getpebble.android.jskit.bridge;

import android.content.Context;

public class JsAppContextBridge {
    private static JsAppContextBridge sInstance;
    private Context mContext;

    public static JsAppContextBridge getInstance() {
        if (sInstance == null) {
            sInstance = new JsAppContextBridge();
        }
        return sInstance;
    }

    public Context getAppContext() {
        return this.mContext;
    }

    public void setAppContext(Context context) {
        this.mContext = context.getApplicationContext();
    }
}
